#ifndef EYERWANDARTIST_EWAUIGRAPHRECT_HPP
#define EYERWANDARTIST_EWAUIGRAPHRECT_HPP

#include "EWAUIGraph.hpp"
#include "EyerMath/EyerMath.hpp"

namespace Eyer
{
    class EWAUIGraphRect : public EWAUIGraph
    {
    public:
        virtual EWAUIGraphType GetType() override;

        virtual int Transform(const Vec2I & xy, const Vec2I & parentWH) override;
        virtual bool IsValid() override;

        int border = 0;
        int rounding = 0;
        EyerColor background;

        Vec2I xy;
        Vec2I wh;
    };
}

#endif //EYERWANDARTIST_EWAUIGRAPHRECT_HPP
